import i18n from '../../i18n/i18n'
export const tableOption = {
  border: true,
  index: false,
  indexLabel: i18n.t('number'),
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  addBtn: false,
  editBtn: false,
  delBtn: false,
  column: [
    {
      label: i18n.t('live.liveName'),
      searchLabelWidth: '100',
      prop: 'name',
      search: true
    },
    {
      label: i18n.t('live.anchorName'),
      prop: 'anchorName',
      search: true
    },
    {
      label: i18n.t('live.anchorWechat'),
      prop: 'anchorWechat'
    },
    {
      label: i18n.t('shop.isTop'),
      prop: 'roomTop',
      searchLabelWidth: '100',
      type: 'select',
      slot: true,
      search: true,
      dicData: [
        {
          value: 1,
          label: i18n.t('publics.yes')
        }, {
          value: 0,
          label: i18n.t('publics.no')
        }
      ]
    },
    {
      label: i18n.t('live.liveStatus'),
      prop: 'liveStatus',
      searchLabelWidth: '100',
      type: 'select',
      slot: true,
      search: true,
      dicData: [
        {
          value: 101,
          label: i18n.t('live.liveing')
        }, {
          value: 102,
          label: i18n.t('live.noStart')
        }, {
          value: 103,
          label: i18n.t('live.over')
        }, {
          value: 104,
          label: i18n.t('live.banned')
        }, {
          value: 105,
          label: i18n.t('live.pause')
        }, {
          value: 106,
          label: i18n.t('live.abnormal')
        }, {
          value: 107,
          label: i18n.t('live.expired')
        }
      ]
    },
    {
      label: i18n.t('live.liveStartTime'),
      prop: 'startTime'
    },
    {
      label: i18n.t('live.liveEndTime'),
      prop: 'endTime'
    },
    {
      label: i18n.t('live.applyTime'),
      prop: 'applyTime'
    }
    // {
    //   label: '更新时间',
    //   prop: 'update_time'
    // }
  ]
}
